import App from './App'
import uView from '@/uni_modules/uview-ui'
import Vue from 'vue'
import './uni.promisify.adaptor'
import api from 'request/api.js'
import store from './store/index.js'
import mixin from '@/mixins/index.js'
import share from '@/mixins/share.js'
import {uploadFilePromise} from 'request/https.js'
Vue.prototype.$upload = uploadFilePromise
Vue.prototype.$store = store
Vue.config.productionTip = false
Vue.prototype.$api = api
uni.$api = api
App.mpType = 'app'
const app = new Vue({
	store,
	...App
})
app.$mount()
Vue.use(uView)
Vue.mixin(mixin)
Vue.mixin(share)

